package com.xie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@TableName("appartus")
@ApiModel(description = "机器")
public class Appartus {
//    @TableField("appartus_id")
    @TableId(value = "appartus_id",type = IdType.AUTO)
    @ApiModelProperty(value = "机器id")
    private Integer appartusId;
   @TableField("appartus_no")
   @ApiModelProperty(value = "机器编号")
    private String appartusNo;
   @TableField("appartus_name")
   @ApiModelProperty(value = "机器名字")
    private String appartusName;
   @TableField("appartus_price")
   @ApiModelProperty(value = "机器价格")
    private String appartusPrice;
   @TableField("appartus_quantity")
   @ApiModelProperty(value = "机器重量")
    private String appartusQuantity;
   @TableField("appartus_ren")
   @ApiModelProperty(value = "机器种类")
    private String appartusRen;

    public Appartus() {
    }

    public Appartus(Integer appartusId, String appartusNo, String appartusName, String appartusPrice, String appartusQuantity, String appartusRen) {
        this.appartusId = appartusId;
        this.appartusNo = appartusNo;
        this.appartusName = appartusName;
        this.appartusPrice = appartusPrice;
        this.appartusQuantity = appartusQuantity;
        this.appartusRen = appartusRen;
    }

    public Integer getAppartusId() {
        return appartusId;
    }

    public void setAppartusId(Integer appartusId) {
        this.appartusId = appartusId;
    }

    public String getAppartusNo() {
        return appartusNo;
    }

    public void setAppartusNo(String appartusNo) {
        this.appartusNo = appartusNo;
    }

    public String getAppartusName() {
        return appartusName;
    }

    public void setAppartusName(String appartusName) {
        this.appartusName = appartusName;
    }

    public String getAppartusPrice() {
        return appartusPrice;
    }

    public void setAppartusPrice(String appartusPrice) {
        this.appartusPrice = appartusPrice;
    }

    public String getAppartusQuantity() {
        return appartusQuantity;
    }

    public void setAppartusQuantity(String appartusQuantity) {
        this.appartusQuantity = appartusQuantity;
    }

    public String getAppartusRen() {
        return appartusRen;
    }

    public void setAppartusRen(String appartusRen) {
        this.appartusRen = appartusRen;
    }

    @Override
    public String toString() {
        return "Appartus{" +
                "appartusId='" + appartusId + '\'' +
                ", appartusNo='" + appartusNo + '\'' +
                ", appartusName='" + appartusName + '\'' +
                ", appartusPrice='" + appartusPrice + '\'' +
                ", appartusQuantity='" + appartusQuantity + '\'' +
                ", appartusRen='" + appartusRen + '\'' +
                '}';
    }
}
